package com.his.his_system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 采购信息表
 * @TableName dzm_his_purchase
 */
@TableName(value ="dzm_his_purchase")

public class DzmHisPurchase implements Serializable {
    /**
     * 采购信息ID
     */
    @TableId(type = IdType.AUTO)
    private Integer purchaseId;

    /**
     * 医院药品关联表：hmr_id
     */
    private Integer medicinesId;

    /**
     * 医院药品关联表：hmr_id
     */
    /**
     * 药品名称
     */
    private String medicinesName;


    public String getMedicinesName() {
        return medicinesName;
    }

    public void setMedicinesName(String medicinesName) {
        this.medicinesName = medicinesName;
    }

    /**
     * 批次库存ID
     */
    private Integer batchesOfInventoryId;

    /**
     * 采购数量
     */
    private Integer purchaseNum;

    /**
     * 采购单位
     */
    private String purchaseUnit;

    /**
     * 批发价
     */
    private BigDecimal purchaseTradePrice;

    /**
     * 处方价
     */
    private BigDecimal purchasePrescriptionPrice;

    /**
     * 采购批发总额
     */
    private BigDecimal purchaseTradeTotalAmount;

    /**
     * 采购处方总额
     */
    private BigDecimal purchasePrescriptionTotalAmount;

    /**
     * 创建时间
     */
    private long createTime;

    /**
     * 
     */
    private Integer hmrId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 采购信息ID
     */

    public Integer getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(Integer purchaseId) {
        this.purchaseId = purchaseId;
    }

    /**
     * 医院药品关联表：hmr_id
     */
    public Integer getMedicinesId() {
        return medicinesId;
    }

    /**
     * 医院药品关联表：hmr_id
     */
    public void setMedicinesId(Integer medicinesId) {
        this.medicinesId = medicinesId;
    }

    /**
     * 批次库存ID
     */
    public Integer getBatchesOfInventoryId() {
        return batchesOfInventoryId;
    }

    /**
     * 药品名称
     */

    /**
     * 批次库存ID
     */
    public void setBatchesOfInventoryId(Integer batchesOfInventoryId) {
        this.batchesOfInventoryId = batchesOfInventoryId;
    }

    /**
     * 采购数量
     */
    public Integer getPurchaseNum() {
        return purchaseNum;
    }

    /**
     * 采购数量
     */
    public void setPurchaseNum(Integer purchaseNum) {
        this.purchaseNum = purchaseNum;
    }

    /**
     * 采购单位
     */
    public String getPurchaseUnit() {
        return purchaseUnit;
    }

    /**
     * 采购单位
     */
    public void setPurchaseUnit(String purchaseUnit) {
        this.purchaseUnit = purchaseUnit;
    }

    /**
     * 批发价
     */
    public BigDecimal getPurchaseTradePrice() {
        return purchaseTradePrice;
    }

    /**
     * 批发价
     */
    public void setPurchaseTradePrice(BigDecimal purchaseTradePrice) {
        this.purchaseTradePrice = purchaseTradePrice;
    }

    /**
     * 处方价
     */
    public BigDecimal getPurchasePrescriptionPrice() {
        return purchasePrescriptionPrice;
    }

    /**
     * 处方价
     */
    public void setPurchasePrescriptionPrice(BigDecimal purchasePrescriptionPrice) {
        this.purchasePrescriptionPrice = purchasePrescriptionPrice;
    }

    /**
     * 采购批发总额
     */
    public BigDecimal getPurchaseTradeTotalAmount() {
        return purchaseTradeTotalAmount;
    }

    /**
     * 采购批发总额
     */
    public void setPurchaseTradeTotalAmount(BigDecimal purchaseTradeTotalAmount) {
        this.purchaseTradeTotalAmount = purchaseTradeTotalAmount;
    }

    /**
     * 采购处方总额
     */
    public BigDecimal getPurchasePrescriptionTotalAmount() {
        return purchasePrescriptionTotalAmount;
    }

    /**
     * 采购处方总额
     */
    public void setPurchasePrescriptionTotalAmount(BigDecimal purchasePrescriptionTotalAmount) {
        this.purchasePrescriptionTotalAmount = purchasePrescriptionTotalAmount;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    /**
     * 创建时间
     */

    public Integer getHmrId() {
        return hmrId;
    }

    public void setHmrId(Integer hmrId) {
        this.hmrId = hmrId;
    }

    /**
     * 
     */



    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", purchaseId=").append(purchaseId);
        sb.append(", medicinesId=").append(medicinesId);
        sb.append(", batchesOfInventoryId=").append(batchesOfInventoryId);
        sb.append(", purchaseNum=").append(purchaseNum);
        sb.append(", purchaseUnit=").append(purchaseUnit);
        sb.append(", purchaseTradePrice=").append(purchaseTradePrice);
        sb.append(", purchasePrescriptionPrice=").append(purchasePrescriptionPrice);
        sb.append(", purchaseTradeTotalAmount=").append(purchaseTradeTotalAmount);
        sb.append(", purchasePrescriptionTotalAmount=").append(purchasePrescriptionTotalAmount);
        sb.append(", createTime=").append(createTime);
        sb.append(", hmrId=").append(hmrId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}